﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Admin/Views/Shared/MainContent.Master" Inherits="System.Web.Mvc.ViewPage<MShop.Core.Domain.ItemCat>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	编辑分类
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%=Html.Partial("ETTree",ViewData["itemcats"]) %>
<div id="rightBox">

<div id="formOutBox">
  <div id="formTitle">
	 <div class="formTitleCard_c">常规</div>
	 <div class="formTitlRight">
	 <img src="/Content/back.png" width="16" height="16" border="0" align="middle" style="margin-right:3px;" />
	 <%: Html.ActionLink("返回", "Index") %>
	 </div>
  </div>
  
  <div id="formBox">
   <%Html.EnableClientValidation(); %>
    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>
            <table width="100%" border="0" cellspacing="0" cellpadding="3" class="formTable">
              <tr>
                <td width="80">父级节点：</td>
                <td><%=Html.DropDownListFor(m=>m.ParentId,ViewData["selectlist"] as IList<SelectListItem>) %></td>
				<td width="5px;"></td>
              </tr>
			  <tr>
                <td><%: Html.LabelFor(model => model.Name) %>：</td>
                <td><%: Html.EditorFor(model => model.Name,new { className = "inputBox" }) %>
                <%: Html.ValidationMessageFor(model => model.Name) %></td>
				<td width="5px;"></td>
			  </tr>			 
			  <tr>
                <td colspan="3" align="center"><input type="submit" value="保存" class="btn" /></td>
              </tr>
            </table>
    <% } %>
  </div>
</div>

   

    <div>
        
    </div>
</div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphMeta" runat="server">

</asp:Content>